<?php
   //-------------------------------------------------------------------------------------------------------
   if ( !isset($config) || !is_array($config) ) {
      $config['app_id'] = 'stocks';      
      $config['app_name'] = 'Stocks';
      $config['app_dir'] = dirname(__FILE__);
      $config['tmp_dir'] = $config['app_dir'] . '/tmp/';
      $config['admin']['email'] = 'support@intelli4x.com';
      
      $config['host']['root'] = 'http://www.intelli4x.com/';      

      $config['db']['driver'] = 'mysql';
      $config['db']['host']   = 'localhost';
      $config['db']['user']   = 'user';
      $config['db']['password']   = 'pass';
      $config['db']['database']   = 'db';
      $config['db']['debug'] = false;

      $config['adodb']['path'] = $config['app_dir'] . '/libs/adodb/';
      $config['adodb']['cache_dir'] = $config['app_dir'] . '/tmp/adodb/';
       
      $config['smarty']['path'] = $config['app_dir'] . '/libs/smarty/';
      $config['smarty']['caching'] = 2;
      $config['smarty']['cache_lifetime'] = 0;
      $config['smarty']['compile_check'] = true;
      $config['smarty']['config_dir'] = $config['app_dir'] . '/templates/conf/';
      $config['smarty']['template_dir'] = $config['app_dir'] . '/templates/source/';
      $config['smarty']['compile_dir'] = $config['app_dir'] . '/templates/compile/';
      $config['smarty']['cache_dir'] = $config['app_dir'] . '/tmp/smarty/';

      $config['mailer']['path'] = $config['app_dir'] . "/libs/mailer/";
      $config['mailer']['type'] = 'smtp';//sendmail,mail,qmail
      $config['mailer']['port'] = 25;
      //$config['mailer']['host'] = "mail.intelli4x.com";

	$config['mailer']['host'] = "62.19.12.18";
     $config['mailer']['username'] = "user";  // SMTP username
      $config['mailer']['password'] = "pass"; // SMTP password



      $config['mailer']['from'] = "alerts@intelli4x.com";
      $config['mailer']['fromName'] = "IntelliForex Alerts";
      $config['mailer']['charset']='utf-8';
      $config['mailer']['priority']=2;	  
      $config['mailer']['bcc']='support@intelli4x.com';	  
      
      $config['xajax']['path'] = $config['app_dir'] . '/libs/xajax/';
      $config['xajax']['js'] =  '/scripts/';
      
      $config['jpgraph']['path'] = $config['app_dir'] . '/libs/jpgraph/';      
      $config['jpgraph']['cache_dir'] = $config['app_dir'] . '/tmp/jpgraph/';
        $config['jpgraph']['antialiasing'] = true;
      
      $config['rss']['path'] = $config['app_dir'] . '/libs/rss/';

	$config['sms']['enabled'] = true;
	$config['sms']['user'] = 'intelli4x';
	$config['sms']['pass'] = 'pass';
	$config['sms']['api_id'] = '666665';

	$config['map']['minimal'] = '3000';
	$config['map']['recommend'] = '5000'; 

      DEFINE("CACHE_DIR","c:/Apache/htdocs/intelli4x.com/tmp/jpgraph/");

      $config['log']['path'] = $config['app_dir'] . '/logs/';
      $config['translation']['cache_lifetime'] = -1;//0 - without caching, -1 - forever, n - for n seconds

      $config['show']['max_days'] = 21;//$show_days
      $config['show']['min_days'] = 12;//$min_show_days
      $config['show']['period'] = 60*60*24 * $config['show']['max_days'];//$period

      $config['manual']['user'] = 'admin';
      $config['manual']['password'] = '1453';
  
	$config['rates']['emails'] = array(
      		'support@intelli4x.com'
      		//'alexander.ganchuk@gmail.com'
      		);
      $config['rates']['age'] = 300; // notify if last rates are older than ... seconds

	$config['system']['default'] = false; // if false then All Systems will be active in system selector
	$config['system']['defaultCalc'] = 116;
	  $config['map']['default'] = false; 

		$config['trial']['days'] = 14;
        $config['trial']['free'] = false;

  }
   date_default_timezone_set('GMT');
   //-------------------------------------------------------------------------------------------------------
?>